package com.ontheroad.banner.service;

import cn.modoumama.service.base.BaseService;
import com.ontheroad.banner.model.BannerModel;
import org.springframework.remoting.service.annotation.RemoteService;

/**
 * Created by kedong on 2017/10/12 0012.
 */
@RemoteService
public interface BannerService extends BaseService<BannerModel, Integer> {
    BannerModel findFirstPublishBanner();

    Integer getPublishCount();

    BannerModel save(BannerModel banner);
}
